package cn.com.cym.gamezao.repository.single;
import cn.com.cym.gamezao.base.BaseRepository;
import org.springframework.data.redis.core.RedisHash;
import org.springframework.lang.NonNull;
import org.springframework.stereotype.Repository;
import cn.com.cym.gamezao.entity.single.VaccineReg;

import java.util.List;

@RedisHash
@Repository
public interface VaccineRegRepository extends BaseRepository<VaccineReg,Long> {

    List<VaccineReg> getByCertificateCodeAndVaccine(@NonNull String certificateCode, @NonNull String vaccine);
}